package com.jiesen.base.modules.company.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiesen.base.baseDao.BaseModel;
import com.jiesen.base.utils.PageDto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@TableName("js_public_users_groupby")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class JsPublicUsersGroupby extends BaseModel {

    @TableId(type = IdType.AUTO)
    private Integer id;     //公海分组表
    private String name;    //组名称
    private Integer branchId;    //组类型
    @TableField("`lock`")
    private Integer lock;       //是否删除(0,删除，1启用)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date cts;       //创建时间

}
